package com.fcscs.cservice.client;

import com.fcscs.core.common.ProductEnum;
import com.fcscs.core.gwt.common.NavNodesRegistry.NodeInfoContainer;
import com.fcscs.core.gwt.common.ui.CustomTabNavApplication;
import com.fcscs.cservice.client.common.CServiceConstants;

public class CService extends CustomTabNavApplication {

	private static CService INS;

	public static CService getInstance() {
		return INS;
	}
	

	@Override
	protected void realModuleLoad() {
		super.realModuleLoad();
		INS = this;
	}
	
	@Override
	protected String getStartPage() {
		return CServiceConstants.M_RESV;
	}

	@Override
	protected ProductEnum getAppProduct() {
		return ProductEnum.cSERVICE;
	}


	@Override
	protected NodeInfoContainer getNodeInfo() {
		return CServiceNodes.getInstance().getNodes();
	}


	@Override
	protected void editAccountPref() {
	}


	@Override
	protected boolean supportAccountPref() {
		return false;
	}


}
